*{
  margin: 0;
  padding: 0;
}

$typeArea:1519px;
$cartWid:1200px;

@mixin box-input{ 
  .checkbox-input{
    display: inline-block;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #666;
    position: relative;
    top: 4px;
    margin-right: 8px;
  }
  .check-one{
    display: inline-block;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #666;
    position: relative;
    top: 4px;
    margin-right: 8px;
  }
}
.content{
  width: 100%;
  min-height: calc(100vh - 50px);
  position: relative;
  overflow: hidden;
  padding-top: 20px;
  // background: red;

  .page-container{
    width: $typeArea;
    margin: 0 auto;

    .cart-to-login{
      width: $cartWid;
      margin: 0 auto;
      border: 1px solid #e4e4e4;
      padding: 15px 20px;
      color: #999;
      font-size: 13px;
      line-height: 18px;

      h4{
        color: #cf112b;
        font-size: 16px;
        line-height: 30px;  
      }
      p{
        padding: 3px 0;
        a{
          color: #888;
          display: inline-block;
          border-bottom: 1px solid #999;
        }
      }
    }


    .cartMain{
      width: $cartWid;
      margin: 0 auto;
      margin-bottom: 50px;

      .cart-title{
        height: 50px;
        line-height: 50px;

        span{
          display: inline-block;
          font-size: 28px;
          font-weight: 600;
          position: relative;
          color: #03234c;
          overflow: hidden;
          vertical-align: middle;  
          
        }
        span:before {
          content: '';
          height: 4px;
          width: 55px;
          background: #03234c;
          position: absolute;
          top: 0;
          left: 0;
        }
        

        .total-num{
          font-style: normal;
          color: #999;
          margin-left: 10px;
          vertical-align: bottom;
          display: inline-block;
          line-height: 35px;
          font-size: 12px;
        }

      }

      //全选
      .cart-top{
        width: $cartWid;
        margin: 0 auto;
        margin: 5px 0 15px;
        // background-color: aqua;

        @include box-input();
      }

      .cart-table{
        width: $cartWid;
        margin: 0 auto;
        // background-color: aqua;
        
        .goods-item{
          width: $cartWid;
          // background-color: red;

            //单选
          .td-check{
            padding: 20px 0;
            border-bottom: 1px solid #999;

          @include box-input();

          }

          //商品图片
          .td-img{
            padding: 20px 0;
            border-bottom: 1px solid #999;

            img{
              display: block;
              width: 100px;
              margin: 0 auto;
            }
          }

          .td-infos{
            width: 1010px;
            border-bottom: 1px solid #999;

            .td-infos-top{
              width: 100%;
              // background-color: red;
              //商品名称,颜色,尺寸
              .fl{
                width: 900px;
                float: left;
                h5{
                  font-size: 18px;
                  color: #03234c;
                  font-weight: 600;
                  line-height: 30px;
                }

                p{
                  font-size: 13px;
                  line-height: 22px;
                  color: #777;  
                }

              }

              //单价
              .fr{
                width: 100px;
                text-align: right;
                float: right;

                .rmbOne{
                  color: #03234c;
                  font-size: 16px;
                }
                .infos-price{
                  color: #03234c;
                  font-size: 16px;
                }
                
                .infos-mktprice{
                  color: #777;
                  font-size: 13px;
                  text-decoration: line-through;
                }
                .rmbTwo{
                  color: #777;
                  font-size: 13px;
                  text-decoration: line-through;
                }

              }
            }
            

            //

            .td-infos-bot{
              .fl{
                width: 900px;
                float: left;
              }

              p{
                font-size: 13px;
                line-height: 22px;
                color: #777;
              
                //减号
                .reduce{
                  display: inline-block;
                  height: 26px;
                  width: 30px;
                  border: 1px solid #ccc;
                  text-align: center;
                  font-size: 18px;
                  line-height: 24px;
                  vertical-align: middle;
                  color: #999;
                  line-height: 26px;
                }

                //num框
                .num-input{
                  outline: 0;
                  border: 1px solid #ccc;
                  margin-left: -1px;
                  margin-right: -1px;
                  height: 26px;
                  text-align: center;
                  width: 80px;
                  vertical-align: middle;
                }

                //加号
                .add{
                  display: inline-block;
                  height: 26px;
                  width: 30px;
                  border: 1px solid #ccc;
                  text-align: center;
                  font-size: 18px;
                  line-height: 24px;
                  vertical-align: middle;
                  color: #999;
                  line-height: 26px;

                }

                
              }

              //删除
              .fr{
                width: 100px;
                text-align: right;
                float: right;
                span{
                  color: #777;
                  font-size: 13px;
                }
              }
            }



            
          }

        
        }
      }

      

    }

    //结算
    .cartFoot{
      z-index: 100;
      position: fixed;
      bottom: 0;
      height: 70px;
      overflow: hidden;
      width: 100%;
      min-width: $typeArea;
      border-top: 1px solid #5d5d5d;
      bottom: 0;
      left: 0;
      background: #03234c;
      background: rgba(3, 35, 76, 0.98);
      color: #fff;

      .fl{
        float: left;
      }
      .fr{
        float: right;
      }
      .sum-main{
        width: 1280px;
        margin: 0 auto;
        overflow: hidden;

        //全选删除
        .sum-infos {
          width: 1000px;
          margin-right: 20px;
          margin-top: 15px;
          line-height: 40px;

          .checkbox-all{
            margin-right: 15px;
            @include box-input;
          }

          //总价
          .sum-totalprice{
            span{
              display: block;
              line-height: 14px;
            }
            .price{
              font-size: 18px;
              line-height: 30px;
            }
          }
         
        }

        //结算
        .sum-to-settle{
          height: 40px;
          padding: 0 30px;
          border-left: 1px solid #999;
          margin-top: 15px;
          span{
            display: block;
            height: 40px;
            width: 150px;
            text-align: center;
            background: #cf112b;
            line-height: 40px;
            font-size: 15px;
          }

        }


      }
    }

  }

}

.check_true{
  background-image: url("../images/check_true.png");
  background-repeat: no-repeat;
  background-size: 114% auto;
  background-position: center;
  border-color: #03234c;
}
